package com.fortune.vo.dRole;

import java.util.List;

import io.swagger.annotations.ApiModelProperty;

/**
 * 
 * @author ran
 *
 */
public class PermissionInDRole {
	@ApiModelProperty(example="权限id")
	private String id;
	@ApiModelProperty(example="权限名称")
	private String name;
	@ApiModelProperty(example="权限是否已被选择")
	private boolean selected;
	private List<PermissionInDRole> subPermissions;
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public boolean isSelected() {
		return selected;
	}
	public void setSelected(boolean selected) {
		this.selected = selected;
	}
	public List<PermissionInDRole> getSubPermissions() {
		return subPermissions;
	}
	public void setSubPermissions(List<PermissionInDRole> subPermissions) {
		this.subPermissions = subPermissions;
	}
	@Override
	public String toString() {
		return "PermissionInMRole [id=" + id + ", name=" + name + ", selected=" + selected + ", subPermissions="
				+ subPermissions + "]";
	}
}
